import 'package:flutter/material.dart';

import '../config/global_config.dart';

class Style {
  /// 线条渐变
  static Gradient _gradient = LinearGradient(
    begin: Alignment.topRight,
    end: Alignment.bottomLeft,
    stops: [0.0, 0.4, 0.6, 1.0],
    colors: [
      Color.fromRGBO(255, 255, 255, 1),
      GlobalConfig.assistColor,
      GlobalConfig.assistColor,
      Color.fromRGBO(255, 255, 255, 1),
    ],
  );

  static Gradient get gradient => _gradient;
}
